package com.nightpiter.view.graphics.impl;

import android.graphics.Path;

import com.nightpiter.view.graphics.abstaractions.AbstractPath;

public class AndroidPath implements AbstractPath {

	public static Path cast(com.nightpiter.view.graphics.Path aPath) {
		return ((AndroidPath)aPath.getDelegate()).getPath();
	}
	
	private Path path;
	
	public AndroidPath(Path path) {
		this.path = path;
	}

	public void lineTo(float x, float y) {
		path.lineTo(x, y);
	}

	public void moveTo(float x, float y) {
		path.moveTo(x, y);
	}
	
	public Path getPath() {
		return path;
	}

}
